Fix debugging code for checking the newline cache.
authorEli Zaretskii <eliz@gnu.org>
Wed, 23 Apr 2014 15:21:25 +0000 (18:21 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 23 Apr 2014 15:21:25 +0000 (18:21 +0300)
commit071d47b893033dc800dd63ce8b99f2973b264162
treee557d91fa7991341303e4aee22232738250ece2e
parentae7369667f5973968bef85c286471c5b1b6bc99a
Fix debugging code for checking the newline cache.

 src/search.c (Fnewline_cache_check): Don't try to count newlines
 outside the buffer's restriction, as find_newline doesn't support
 that.
src/ChangeLog
src/search.c